본문으로 건너뛰기

TWF-100 Script Grammar

IpType

  • USE_JIG_ID_AND_CH_INDEX

MacType

  • USE_JIG_ID_AND_CH_INDEX

CustomVariableType

  • STRING
  • INTEGER
  • FLOAT
  • MAC
  • MAC1

Operator

  • NONE
  • PLUS
  • MINUS
  • MULTIPLIED
  • DIVIDED

LogicalOperator

  • AND
  • OR

CameraCommand

  • READ

CameraObject

  • Enable
  • ScanTimeMs

ChannelBoardConfigObject

UartConfig

ConsoleUart

  • BaudRate
  • FlowControl

TargetUart

  • Enable
  • Baudrate
  • FlowControl
  • index

GpioConfig

  • InputGpioList:List
  • OutputGpioList:List

AdcConfig

  • EnableAdcList:List
  • SamplingIntervalMs
  • ValueCondition

FirmwareConfig

  • FirmwareType
  • FirmwareName

SpiConfig

  • Enable

TestScheduleObject

CustomFunctionControl

CreateDummySerial

  • Enable
  • SerialPrefix

CameraControl

TargetQrRead

  • Enable:bool
  • TimeoutMs:int
  • SerialPrefix:str
  • SaveDataToCustomVarialbe:SaveDataToCustomVariable

GpioControl

  • TargetGpioRead:TargetGpioRead
  • TargetGpioWriteList
    TargetGpioWrite
    (#targetgpiowrite)
  • TargetGpioWriteToggle:TargetGpioWriteToggle
  • DelayMsBeforeGpioControl:int
  • DelayMsAfterGpioControl:int

TargetGpioRead

  • Enable:bool
  • GpioName
  • WantedValue

TargetGpioWrite

  • Enable
  • GpioName
  • Value

TargetGpioWriteToggle

  • Enable
  • GpioName
  • ActiveMethod
  • KeepingTimeMs

UartControl

SerialTxInfo

TxDataWithCustomVarible

  • Enable:bool
  • TxDataWithVariable:str
  • LoadDataFromCustomVariableList
    str

SerialTxListInfo

  • Enable:bool
  • TxDataList
    bytearray
  • DelayMsBeforeTx:int
  • DelayMsAfterTx: int

SerialRxInfo

SerialTxListInfo

  • Enable:bool
  • TxDataList
    bytearray
  • DelayMsBeforeTx:int
  • DelayMsAfterTx:int

SerialIterateTxRxInfo

SaveDataToCustomVariable

  • Enable:bool
  • CustomVariableList
    CustomVariable
    (#customvariable)

SplitPattern

  • SplitPattern:ch
  • IndexForUse:int

RemovePattern

  • RemovePattern:ch

CustomVariable

  • LookUpString:str
  • SplitPatternList
    SplitPattern
    (#splitpattern)
  • RemovePatternList
    RemovePattern
    (#removepattern)
  • CustomVariablename:str
  • CustomVariableType:CustomVariableType
  • CustomVariableOperator:str

TargetControl

TargetEthernetControl

ResetEthernetTarget

  • Enable:bool
  • timeoutMs:int

SetTargetIp

SetTargetMac

ConnectTcp

  • Enable:bool

CloseTcp

  • Enable:bool

SendTcpData

VerifyWithSentData

  • Enable:bool

RecvTcpData

EthernetUseDummyData

  • Enable:bool
  • DummyDataSize:int

EthernetUseUserData

  • Enable:bool
  • UserData:str

TcpClientDestinationIp

  • Value:str
  • LoadDataFromCustomVariableList
    str

RunTcpClientTest

RunLoopbackServerTest

  • Enable:bool
  • PortNum:int
  • DummyDataSize:int
  • TimeoutMs:int
  • DelayMsAfterNetworkInit:int
  • SaveDataToCustomVariable:SaveDataToCustomVariable

TargetFirmwareUpdateControl

XmodemProtocol

  • Enable:bool
  • TargetuartName:str
  • TargetUartBaudrate:int
  • TargetFirmwareNumber:int
  • TimeoutMs:int

SwdProtocol

  • Enable:bool
  • StartFlashAddress:int
  • TargetFirmwareNumber:int
  • TimeoutMs:int

Stm32BootProtocol

  • Enable:bool
  • BootGpioName:str
  • TargetUartName:str
  • TargetUartBaudrate:int
  • EnableFlashReadProtect:int
  • EnableFlashWriteProtect:int
  • TargetReset:TargetReset
  • FirmwareInfoList
    FirmwareInfo
    (#firmwareinfo)

W7500BootProtocol

  • Enable:bool
  • BootGpioName:str
  • TargetUartname:str
  • TargetUartBaudrate:int
  • EnableFlashReadProtect:int
  • EnableFlashWriteProtect:int
  • TargetReset:TargetReset
  • FirmwareInfoList
    FirmwareInfo
    (#firmwareinfo)

FirmwareInfo

  • StartFlashAddress:int
  • TargetFirmwareNumber:int

TargetReset

  • Enable:bool
  • GpioName
  • ActiveMethod
  • KeepingTimeMs:int

CheckStringBeforeCommand

  • Enable:bool
  • Data:str
  • TimeoutMs:int

InputMacAddress

TargetFirmwareUpdateControl

WiznetWIZ107SRConfigTool

  • Enable:bool
  • MacAddress
  • Command
  • LoadDataFromCustomVariableList
    str
  • TimeoutMsCommand:int

WiznetWIZ750SRConfigTool

  • Enable:bool
  • MacAddress
  • Command
  • LoadDataFromCustomVariableList
    str
  • TimeoutMsCommand:int

WiznetWIZ750SRSearch

  • Enable:bool
  • MacAddress
  • LoadDataFromCustomVariableList
    str
  • TimeoutMsSearchCommand:int

WiznetWIZ750SRFactoryReset

  • Enable:bool
  • MacAddress
  • LoadDataFromCustomVariableList
    str
  • TimeoutMsSearchCommand:int

WiznetWIZ550SRFactoryReset

  • Enable:bool
  • MacAddress
  • LoadDataFromCustomVariableList
    str
  • TimeoutMsSearchCommand:int

WiznetWIZ1XXSRSearch

  • Enable:bool
  • MacAddress
  • LoadDataFromCustomVariableList
    str
  • TimeoutMsSearchCommand:int
  • CheckDefaultValues:bool
  • DefaultIpAddress:str
  • DefaultGwAddress:str

WiznetWIZ1XXSRSetting

  • Enable:bool
  • MacAddress
  • LoadDataFromCustomVariableList
    str
  • TimeoutMsSearchCommand:int
  • IpAddress:str
  • GwAddress:str

TargetCustomControl

LockControl

LockOrWaitForRelease

  • Enable:bool
  • TimeoutMs:int

LockRelease

  • Enable:bool

NextTest

CompareRxData

  • Enable:bool
  • ConditionString:str
  • CustomVariableForConditionStringList
    str

IncludedStringInRxData

IncludedCustomVariableInRxData

  • Enable:bool
  • CustomVariablenameList
    str
  • LogicalOperator:LogicalOperator
  • RemoveSeperate:str
  • ChangeUpperCase:bool